package com.wyh.domain.po.feemanagementpo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 账单详情表
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "账单详情表")
@TableName("billdetails")
public class Billdetailes implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "账单详情id")
    private Integer id;
    @ApiModelProperty(value = "账单id")
    private Integer billid;
    @ApiModelProperty(value = "计费资源")
    private String billingresources;
    @ApiModelProperty(value = "计费资源id")
    private String billingresourcesid;
    @ApiModelProperty(value = "计费项目")
    private String billingitems;
    @ApiModelProperty(value = "计费项目id")
    private String billingitemsid;
    @ApiModelProperty(value = "计费性质")
    private String billingnature;
    @ApiModelProperty(value = "计费性质id")
    private String billingnatureid;
    @ApiModelProperty(value = "建筑面积")
    private String area;
    @ApiModelProperty(value = "单价")
    private String price;
    @ApiModelProperty(value = "上期读数")
    private String previousreading;
    @ApiModelProperty(value = "本期读数")
    private String currentreading;
    @ApiModelProperty(value = "用量")
    private BigDecimal dosage;
    @ApiModelProperty(value = "计费日期起")
    private String frombilling;
    @ApiModelProperty(value = "计费日期止")
    private String endofbilling;
    @ApiModelProperty(value = "应收金额")
    private String accountsreceivable;
    @ApiModelProperty(value = "退费抵扣")
    private String refunddeduction;
    @ApiModelProperty(value = "预存冲抵")
    private String predepositoffset;
    @ApiModelProperty(value = "核销金额")
    private String verificationamount;
    @ApiModelProperty(value = "明细id")
    private String detailid;
    @ApiModelProperty(value = "备注")
    private String remarks;
    @ApiModelProperty("计费项目信息")
    @TableField(exist = false)
    private BillingItemss items;
}
